{% extends '@App/Layout.html.twig' %}
{% set seek_active=1 %}

{% block body %}
    <div class="jumbotron">
        <div class="container">
            <hgroup>
                <h1>[ 我 要 找 人 ]</h1>
                <h4>我的亲人，有你才有家，你在哪里，寻你回家！</h4>
            </hgroup>
        </div>
    </div>
    <div id="find">
        <form action="{{ path('seek_search') }}" method="POST"  enctype="multipart/form-data">
            <h1>登记寻亲</h1>
            <h4>请尽量完善您的寻人信息，有助于信息检索与收集！</h4>
            <div class="form-group form-inline">
                <label for="profile_urls">失踪人员个人资料</label>
                <input type="file" id="profile_url" name="profile_urls">
                <p class="help-block">Example block-level help text here.profile_urls,上传失踪人员详细个人资料。</p>
            </div>
            <div class="form-group form-inline">
                <label for="photo_url">失踪人员照片</label>
                <input type="file" id="photo_url" name="photo_url">
                <p class="help-block">Example block-level help text here.photo_url</p>
            </div>
            <div class="form-group form-inline">
                <label for="family_name">失踪人员姓</label>
                <input type="text" class="form-control" id="family_name" name="family_name" placeholder="family_name" {#value="{{ person.family_name }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="full_name">失踪人员全名</label>
                <input type="text" class="form-control" id="full_name" name="full_name" placeholder="full_name" {#value="{{ person.full_name }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="alternate_names">失踪人员别名（小名）</label>
                <input type="text" class="form-control" id="alternate_names" name="alternate_names" placeholder="alternate_names" {#value="{{ person.alternate_names }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="given_name">失踪人员被给定名称</label>
                <input type="text" class="form-control" id="given_name"  name="given_name" placeholder="given_name" {#value="{{ person.given_name }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="sex">失踪人员性别</label>
                <label class="checkbox-inline"><input type="checkbox" name="sex" id="inlineCheckbox1" value="男" checked> 男</label>
                <label class="checkbox-inline"><input type="checkbox" name="sex" id="inlineCheckbox2" value="女"> 女 </label>
            </div>
            <div class="form-group form-inline">
                <label for="date_of_birth">失踪人员出生日期</label>
                <input type="text" class="form-control" id="date_of_birth" name="date_of_birth" placeholder="date_of_birth" {#value="{{ person.date_of_birth }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="age">失踪人员年龄</label>
                <input type="text" class="form-control" id="age" name="age" placeholder="age" {#value="{{ person.age }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="home_country">失踪人员国籍</label>
                <input type="text" class="form-control" id="home_country" name="home_country" placeholder="home_country" {#value="{{ person.home_country }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="home_city">失踪人员家居城市</label>
                <input type="text" class="form-control" id="home_city" name="home_city" placeholder="home_city" {#value="{{ person.home_city }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="home_street">失踪人员家居街道</label>
                <input type="text" class="form-control" id="home_street" name="home_street" placeholder="home_street" {#value="{{ person.home_street }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="home_neighborhood">失踪人员家居社区</label>
                <input type="text" class="form-control" id="home_neighborhood" name="home_neighborhood" placeholder="home_neighborhood" {#value="{{ person.home_neighborhood }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="home_state">失踪人员家庭状态</label>
                <input type="text" class="form-control" id="home_state" name="home_state" placeholder="home_state" {#value="{{ person.home_state }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="home_postal_code">失踪人员家居邮政编码</label>
                <input type="text" class="form-control" id="home_postal_code" name="home_postal_code" placeholder="home_postal_code"  {#value="{{ person.home_postal_code }}"#}>
            </div>
            <div class="form-group form-inline">
                <label for="description">失踪人员描述</label>
                <textarea type="text" class="form-control" id="description" name="description" placeholder="description" ></textarea>
                <span id="helpblock" class="help-block">可描述失踪人员特征信息，失踪原因等！</span>
            </div>
            <div class="form-group form-inline">
                <label for="author_name">作者姓名</label>
                <input type="text" class="form-control" id="author_name" name="author_name"  {#placeholder="author_name"#} >
                <span id="helpblock" class="help-block">请尽量留下您的真实姓名！</span>
            </div>
            <div class="form-group form-inline">
                <label for="author_email">作者邮箱</label>
                <input type="text" class="form-control" id="author_email" name="author_email" placeholder="author_email" {#value="{{ person.author_email }}"#}>
                <span id="helpblock" class="help-block">请留下您的邮箱，方便通知您寻人信息的最新进度！</span>
            </div>
            <div class="form-group form-inline">
                <label for="author_phone">作者联系方式</label>
                <input type="text" class="form-control" id="author_phone" name="author_phone" placeholder="author_phone" {#value="{{ person.author_phone }}"#}>
                <span id="helpblock" class="help-block">请留下您的联系方式，方便通知您寻人信息的最新进度！</span>
            </div>
            <div class="checkbox">
                <label style="width: 100%;text-align: center;padding-top: 15px;">
                    <input type="checkbox" name="checkbox" checked>承诺以上发布信息真实可靠！
                </label>
            </div>
            <input type="submit" class="btn btn-primary btn-lg " id="btn" value="提交">
        </form>
     </div>
{% endblock %}
